package com.service;

import com.github.pagehelper.PageInfo;
import com.pojo.Attention;

public interface AttentionService {
    //查询该用户下所有的关注
    public PageInfo<Attention> selectAll(int pageNum,long userId);
     //取消关注
    public int deleteAtten(long userId,long projectId);

    //添加关注
    public int addAtten(long userId,long projectId);

    //查询是否关注
    public Attention selectAtten(long userId,long projectId);
}
